import sys
from wiget2 import Ui_Form
import multiprocessing
import os

# 定义一个普通的action函数，该函数准备作为进程执行体
def action():
    a = 1

def run():
    mp1 = multiprocessing.Process(target=action)
    mp1.start()
    # 创建并启动第一个进程
    mp2 = multiprocessing.Process(target=action)
    mp2.start()
    mp2.join()
